package com.pms.service;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import com.pms.domain.Operator;

@RunWith(SpringJUnit4ClassRunner.class)  

@ContextConfiguration({"file:WebContent/WEB-INF/spring-main.xml","file:WebContent/WEB-INF/spring-mybatis.xml"})  
public class OperatorServiceTest {
	
	@Autowired  
	OperatorService operatorService;
    @Test
    public void selectByPrimaryKey()
    {
    	System.out.println("ssssss");
    	//Operator op = operatorService.selectByPrimaryKey(new Integer("1"));
    	//System.out.println(op.getOperatorName());
    }
}
